package com.example.comm.client;

import com.example.comm.vo.MDiary;
import com.example.comm.vo.MDiaryPlan;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("rms-demo")
public interface MDiaryPlanClient {

    @PostMapping("/MDiaryPlan/add")
    Map add(@RequestBody MDiaryPlan mDiaryPlan);

}
